/**
 * 功能描述
 */
define(function (require, exports, module) {
    //引入视图基类
    var ELView = require("elview");
    var aw = require("ajaxwrapper");
    //assets
    var template = require("./assets/tpl/customer_main.tpl");
//    require("./assets/css/checkin_main.css");

    //business
    var planfile = require("./store/planfile");
    //component
    var customerSubnavComp = require("./component/customerSubnavComp");
    var customerGridComp = require("./component/customerGridComp");
    var customerFormComp = require("./component/customerFormComp");
    //constant

    //handler

    //store
//    var checkinfile = require("./store/checkinfile");
    
    var checkin_main = ELView.extend({
        attrs: {
        	model:{},
            template: template
        },
        initComponent:function (params, widget) {
        	customerSubnavComp.initComponent(params, widget);
        	customerGridComp.initComponent(params, widget);
        	customerFormComp.initComponent(params, widget);
        },
        afterInitComponent: function (params, widget) {
        	
        }
    });

    module.exports = checkin_main;
});
